package com.frost500.orderservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient("integration-demo")
public interface IntegrationDemoClient {

    @PutMapping("/storage/{id}/deductUnlock")
    void deductUnlock(@PathVariable("id") Long id);

    @PutMapping("/storage/{id}/deductLocked")
    void deductLocked(@PathVariable("id") Long id);

    @PutMapping("/storage/{id}/deductDistributeLocked")
    void deductDistributeLocked(@PathVariable("id") Long id);

    @PutMapping("/storage/insertStorage")
    void insertStorage();

    @PutMapping("/storage/insertStorageLocked")
    void insertStorageLocked();

    @PutMapping("/storage/insertStorageDistributeLocked")
    void insertStorageDistributeLocked();
}
